/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.wisnu.example.view;

import com.wisnu.example.error.PtikException;
import java.sql.SQLException;

/**
 *
 * @author Wisnu Wardoyo
 */
public class RunPtik extends javax.swing.JFrame {

    /**
     * Creates new form RunPtik
     */
    public RunPtik() {
        initComponents();
    }

    public void loadDatabase() throws SQLException, PtikException {
        ptikView1.loadDatabase();
    }
    
    
    
    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        ptikView1 = new com.wisnu.example.view.PtikView();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        getContentPane().add(ptikView1, java.awt.BorderLayout.CENTER);

        pack();
    }// </editor-fold>//GEN-END:initComponents

    /**
     * @param args the command line arguments
     */
    

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private com.wisnu.example.view.PtikView ptikView1;
    // End of variables declaration//GEN-END:variables
}
